package com.lucher.tangstore.dao;

import com.lucher.tangstore.po.Rolemenuref;

import java.util.ArrayList;
import java.util.List;

public interface RolemenurefMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Rolemenuref record);

    int insertSelective(Rolemenuref record);

    Rolemenuref selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Rolemenuref record);

    int updateByPrimaryKey(Rolemenuref record);
    
    //自定义接口
	public List<Rolemenuref> findByRoleid(Integer roleid);
	public Integer saveBatch(ArrayList<Rolemenuref> reflist);
	public  Integer deleteByRoleid(Integer roleid);
    
}